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

set root as SOURCE #188

Open
entin-hun opened this issue Jul 6, 2024 · 4 comments
Open

set root as SOURCE #188

entin-hun opened this issue Jul 6, 2024 · 4 comments
Labels
stale Issues without activity

Comments

@entin-hun
Copy link

Hi,
The job runs for me successfully, meaning it wiped all the files on my VPS. I dont have a /dist folder (or should somehow built node.js code be there?), rather it should mirror the files and folders in the repo root.
SOURCE: "./" haven't solved it, how should it be done?

Copy link

github-actions bot commented Oct 5, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale Issues without activity label Oct 5, 2024
@Palaxx
Copy link

Palaxx commented Oct 9, 2024

Hello @entin-hun ,
have you tried to use SOURCE: "/" instead SOURCE: "./"?.

I'm currently using the 5.1.1 and I'm able to copy the entire root folder over ssh with /

@github-actions github-actions bot removed the stale Issues without activity label Oct 10, 2024
@cudillal
Copy link

I have the same issue, but I just realized the README says

This GitHub Action deploys specific directory from GITHUB_WORKSPACE to a folder on a server via rsync over ssh

I have tried @Palaxx's solution with no luck.
I suppose I should use ssh + git instead.

Maybe the "specific directory" part of the README could be bolded? For people like me who don't read it carefully :)

Copy link

github-actions bot commented Jan 9, 2025

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale Issues without activity label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues without activity
Projects
None yet
Development

No branches or pull requests

3 participants