Merge pull request #4169 from dsr20030703/source #4048
  
    
      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 }} |