Comment out CI
This commit is contained in:
parent
8333a77093
commit
a59712f17d
46
.github/workflows/gatsby.yml
vendored
46
.github/workflows/gatsby.yml
vendored
@ -1,24 +1,24 @@
|
||||
name: Publish a gatsby project with SCP
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
# name: Publish a gatsby project with SCP
|
||||
# on:
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
# workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3.6.0
|
||||
with:
|
||||
node-version: '18.x'
|
||||
cache: 'yarn'
|
||||
- name: Build project
|
||||
run: |
|
||||
sudo yarn global add gatsby-cli
|
||||
yarn
|
||||
gatsby build
|
||||
- name: Publish to server via scp
|
||||
run: |
|
||||
yarn run deploy ${{ secrets.WEBMASTER_USERNAME }} ${{ secrets.WEBMASTER_PASSWORD }}
|
||||
# jobs:
|
||||
# build:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - uses: actions/setup-node@v3.6.0
|
||||
# with:
|
||||
# node-version: '18.x'
|
||||
# cache: 'yarn'
|
||||
# - name: Build project
|
||||
# run: |
|
||||
# sudo yarn global add gatsby-cli
|
||||
# yarn
|
||||
# gatsby build
|
||||
# - name: Publish to server via scp
|
||||
# run: |
|
||||
# yarn run deploy ${{ secrets.WEBMASTER_USERNAME }} ${{ secrets.WEBMASTER_PASSWORD }}
|
||||
|
Loading…
Reference in New Issue
Block a user