mirror of
https://github.com/bitwarden/docs
synced 2025-12-06 01:33:19 +00:00
Pin versions of actions in workflow (#3)
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -9,12 +9,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
|
||||||
with:
|
with:
|
||||||
node-version: '10.x'
|
node-version: '14'
|
||||||
|
|
||||||
- name: Set up Ruby
|
- name: Set up Ruby
|
||||||
uses: actions/setup-ruby@v1
|
uses: actions/setup-ruby@e932e7af67fc4a8fc77bd86b744acd4e42fe3543
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.6
|
ruby-version: 2.6
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
jekyll --version
|
jekyll --version
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to S3
|
- name: Deploy to S3
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
uses: jakejarvis/s3-sync-action@master
|
uses: jakejarvis/s3-sync-action@be0c4ab89158cac4278689ebedd8407dd5f35a83
|
||||||
with:
|
with:
|
||||||
args: --acl public-read --follow-symlinks --delete
|
args: --acl public-read --follow-symlinks --delete
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user