Skip to content

gh-pages deployment issue, job duplicates directory name and fails #608

Answered by JamesIves
nikonov91-dev asked this question in Q&A
Discussion options

You must be logged in to vote

It's likely that the directory doesn't exist at the root level where the action runs. By the looks of your directory structure you probably need to modify the folder input to be front-app/dist as that seems to be where your application gets built.

      - name: Deploy
        uses: JamesIves/github-pages-deploy-action@releases/v3
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN_KEY }}
          BRANCH: gh-pages
          FOLDER: front-app/dist

Also two other things to note:

  • Use a tagged version of the action, ie JamesIves/github-pages-deploy-action@3.7.1, if you point directly to the release branch your workflow will cease to operate if I ever remove or push some broken co…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nikonov91-dev
Comment options

Answer selected by nikonov91-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants