Merge pull request #3680 from PaulBoye-py/patch-1 #3762
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build and deploy | |
| on: | |
| push: | |
| branches: | |
| - source | |
| jobs: | |
| build: | |
| name: deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-node@v1 | |
| with: | |
| node-version: '10.x' | |
| - name: install | |
| run: | | |
| npm install | |
| - name: build | |
| run: | | |
| ls -la | |
| npm run build | |
| - name: git status | |
| run: | | |
| git status | |
| - name: working dir | |
| run: | | |
| cd public | |
| pwd | |
| ls -la | |
| - name: Gatsby Publish | |
| uses: enriikke/gatsby-gh-pages-action@v2 | |
| with: | |
| access-token: ${{ secrets.SEKRED2 }} | |