diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f6235b0..caca10c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: NodeJS with Gulp +name: NodeJS with Parcel on: push: @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: 18.x steps: - uses: actions/checkout@v3 @@ -27,3 +27,9 @@ jobs: cd web npm install npx parcel index.html + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./web/dist/