add node setup
This commit is contained in:
parent
cf28d4a04c
commit
9de856a7ec
7
.github/workflows/gatsby.yml
vendored
7
.github/workflows/gatsby.yml
vendored
@ -9,7 +9,10 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18.13.0'
|
||||
- name: Build project
|
||||
run: |
|
||||
sudo yarn global add gatsby-cli
|
||||
@ -17,4 +20,4 @@ jobs:
|
||||
gatsby build
|
||||
- name: Publish to server via scp
|
||||
run: |
|
||||
yarn run deploy ${{ secrets.WEBMASTER_USERNAME }} ${{ secrets.WEBMASTER_PASSWORD }}
|
||||
yarn run deploy ${{ secrets.WEBMASTER_USERNAME }} ${{ secrets.WEBMASTER_PASSWORD }}
|
||||
|
Loading…
Reference in New Issue
Block a user