diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..1e288ef --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,19 @@ +on: + push: + branches: + - master + name: Deploy to Github Pages + jobs: + deploy: + name: deploy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Deploy + uses: JamesIves/github-pages-deploy-action@master + env: + ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }} + BRANCH: gh-pages + FOLDER: out + BUILD_SCRIPT: npm ci && npm run build + CNAME: slashdev.space \ No newline at end of file