diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1755424d3..ef66b06ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,11 +21,9 @@ jobs: run: npm run lint - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 - env: - DESTINATION_DIR: `[[ "${{ github.ref_name }}" != "pages-ci" ]] && echo ${{ github.ref_name }}` with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build - destination_dir: $DESTINATION_DIR + destination_dir: ${{ github.ref_name != 'development' && github.ref_name || "") }} keep_files: true allow_empty_commit: true