Comment out CI

This commit is contained in:
Peter Klimai 2023-12-29 17:47:25 +03:00
parent 8333a77093
commit a59712f17d

View File

@ -1,24 +1,24 @@
name: Publish a gatsby project with SCP # name: Publish a gatsby project with SCP
on: # on:
push: # push:
branches: # branches:
- master # - master
workflow_dispatch: # workflow_dispatch:
jobs: # jobs:
build: # build:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: actions/setup-node@v3.6.0 # - uses: actions/setup-node@v3.6.0
with: # with:
node-version: '18.x' # node-version: '18.x'
cache: 'yarn' # cache: 'yarn'
- name: Build project # - name: Build project
run: | # run: |
sudo yarn global add gatsby-cli # sudo yarn global add gatsby-cli
yarn # yarn
gatsby build # gatsby build
- name: Publish to server via scp # - name: Publish to server via scp
run: | # run: |
yarn run deploy ${{ secrets.WEBMASTER_USERNAME }} ${{ secrets.WEBMASTER_PASSWORD }} # yarn run deploy ${{ secrets.WEBMASTER_USERNAME }} ${{ secrets.WEBMASTER_PASSWORD }}