Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 🐝 Getting a file not found error #1698

Closed
DevGranil opened this issue Sep 27, 2024 · 4 comments
Closed

bug: 🐝 Getting a file not found error #1698

DevGranil opened this issue Sep 27, 2024 · 4 comments
Assignees
Labels
bug 🐝 This issue describes a bug. triage ⚠️

Comments

@DevGranil
Copy link

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

@DevGranil DevGranil added bug 🐝 This issue describes a bug. triage ⚠️ labels Sep 27, 2024
@JulianYG
Copy link

+1 here

@chunlaw
Copy link

chunlaw commented Sep 28, 2024

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
Copy link

Workaround for now: #1697 (comment)

@JamesIves
Copy link
Owner

JamesIves commented Sep 28, 2024

This issue has now been resolved as of v4.6.7, apologies about that. I'm going to make some adjustments to the integration tests so this doesn't go missed during the release cycle. The v4 major tag has also been updated so any existing workflows should now work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐝 This issue describes a bug. triage ⚠️
Projects
None yet
Development

No branches or pull requests

5 participants