bug: ๐ Getting a file not found error
Closed this issue ยท 4 comments
DevGranil commented
Describe the bug
Hi James
Awesome tool! used on a few of my projects.
I'm getting the following issue when deploying
File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js'
This used to work before - I've made no changes to my repo
Many thanks
Reproduction Steps
make changes and push to repo
Logs
No response
Workflow
name: Angular Build and Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build Angular app to prod
working-directory: ./tic-tac-toe-app
run: npm install && npm run build:prod
- name: Run Tests
working-directory: ./tic-tac-toe-app
run: npm run test:headless
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GH_TOKEN }}
BRANCH: prod
FOLDER: tic-tac-toe-app/dist/browser
Additional Comments
No response
JulianYG commented
+1 here
chunlaw commented
Same ๐ฅน
Run JamesIves/github-pages-deploy-action@v4 Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js'
gismountains commented
Workaround for now: #1697 (comment)