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

Github Actions workflow based on public repository, but committing to the private one #10

Open
Stvad opened this issue Apr 19, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@Stvad
Copy link

Stvad commented Apr 19, 2020

See start of the discussion in #4. The point is to run the WF on public repo, hence working around the limit on WFs on private repos

some relevant links:

@MatthieuBizien MatthieuBizien added the enhancement New feature or request label Apr 19, 2020
@MatthieuBizien
Copy link
Owner

If I understand it correctly, actions/checkout would be enough:

  • Create a private repository for the notes
  • Create a public repository for the actions
  • In the public repository, create an github action yaml, with the steps
  • In the public repository, configure the secrets github.repository, github.token in addition to the Roam secrets.

I have a doubt if ssh-key is needed.

Do you agree?

@Stvad
Copy link
Author

Stvad commented Apr 22, 2020

you're right, that actually worked!

@Stvad
Copy link
Author

Stvad commented Apr 22, 2020

https://github.com/Stvad/roam-notes-workflow/blob/master/.github/workflows/run_backup.yml

@Stvad Stvad changed the title Github Actions workflow based on public repository, but commuting to the private one Github Actions workflow based on public repository, but committing to the private one Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants