Describe the bug
Currently getting this error when the deploy step is reached:
Run JamesIves/github-pages-deploy-action@v4
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js'
Reproduction Steps
Logs
##[debug]Evaluating condition for step: 'Deploy' ##[debug]Evaluating: success() ##[debug]Evaluating success: ##[debug]=> true ##[debug]Result: true ##[debug]Starting: Deploy ##[debug]Loading inputs ##[debug]Evaluating: github.token ##[debug]Evaluating Index: ##[debug]..Evaluating github: ##[debug]..=> Object ##[debug]..Evaluating String: ##[debug]..=> 'token' ##[debug]=> '***' ##[debug]Result: '***' ##[debug]Loading env Run JamesIves/github-pages-deploy-action@v4 Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js' ##[debug]System.IO.FileNotFoundException: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js' ##[debug]File name: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js' ##[debug] at GitHub.Runner.Sdk.ArgUtil.File(String fileName, String name) ##[debug] at GitHub.Runner.Worker.Handlers.NodeScriptActionHandler.RunAsync(ActionRunStage stage) ##[debug] at GitHub.Runner.Worker.ActionRunner.RunAsync() ##[debug] at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) ##[debug]Finishing: Deploy
Workflow
name: Deploy on: push: branches: [main] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 16.13.0 - name: Setup run: npm ci - name: Build run: npm run build - name: Deploy uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: dist
### Additional Comments
_No response_
