diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ec04246..33a0cd6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,13 +9,14 @@ jobs: build-and-deploy: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@master + - name: Checkout + uses: actions/checkout@v2 + with: + persist-credentials: false - - name: Deploy to GitHub Pages - uses: Cecilapp/GitHub-Pages-deploy@master - env: - EMAIL: sun.sivan@gmail.com - GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} - BASE_BRANCH: master - BUILD_DIR: demo + - name: Build and Deploy + uses: JamesIves/github-pages-deploy-action@releases/v3 + with: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} + BRANCH: gh-pages + FOLDER: demo