commit ccae14ebec047a8d3c12b2b5f52ec1874fe24af3 parent d2430aae14f493d97b2cecc6b99fec1da8046659 Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 22 Aug 2020 12:42:44 +0200 Fix deploy part of deploy action Diffstat:
| M | .github/workflows/deploy.yml | | | 11 | +++++------ |
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml @@ -35,9 +35,8 @@ jobs: - name: Build run: source emsdk-master/emsdk_env.sh && cargo install cargo-make && cargo make dist - - name: Publish - run: | - git config --global user.name 'Github CI' - git config --global user.email 'info@nordgedanken.de' - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} - npm run deploy + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public