-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
246 additions
and
182 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Deploy | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cloning repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Push to Scaleway (Dokku) | ||
uses: dokku/github-action@master | ||
with: | ||
command: deploy | ||
git_remote_url: "ssh://[email protected]/wikinimous" | ||
git_push_flags: "--force -vvv" | ||
|
||
# NOTE(ssaunier): having `id_ed25519` `id_ed25519.pub` localy: | ||
# cat ~/code/lewagon/glovebox/id_ed25519.pub | ssh [email protected] dokku ssh-keys:add "ssaunier_github@dokku" | ||
# ssh students ssh-keys:list | ||
# cat ~/code/lewagon/glovebox/id_ed25519 | pbcopy # To be added to https://github.com/lewagon/wikinimous/settings/secrets/actions | ||
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }} | ||
|
||
# cat ~/.ssh/known_hosts | grep "students.lewagon.engineering ssh-rsa" | ||
ssh_host_key: | | ||
students.lewagon.engineering ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCp7UWRGPtC4QermDmb4BZq2zdin7YQMqvwv//nLiu955amaBWvxP4MFXTr4Ig20PFSRVe8nwcnLgiHLhi1Jakr08jHGrcF3TykIGdFTNpqP5trmBNA711BOQVtrC0h4EQvuavjO8pVe0IhU0cCVHsRtIWKiHT+RwTdwuMrFxeA8ecu9DnWvG4KHkPL8fXVvUg59AN3CUKd6cGd5Vwfhxh1CTgxnZGmEpFlnRyqCX2yHojtsJCItGjDgvkme468GiaCMCQQuURrl5Q+EX2uo6csDKjYPu7Wnznp0pGuCfDkFRMe1xaSgqkspulRimwp2I7Vr0xHylhUgmQ+c2RlLovQcOJLOsqobkHChqBfUxS4S6/h3yttoORFIp+fsvpsmfuzIRojz/MxzVTE1evfR4NtpflNuAQeTk28+oB4SpqyIXgwX9eFMpcyCbd3UlNd0mO3yKqiUBs3M0pZPKcwTaZi9xOCDoGXGO1cNu+JWipTXydMespblDIFUJVJ+jEbt+8= | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,5 @@ | |
# Ignore all logfiles and tempfiles. | ||
/log/*.log | ||
/tmp | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.1.2 | ||
3.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.