testdeploy
This commit is contained in:
parent
f32ce63347
commit
78c5d164a2
|
@ -15,10 +15,11 @@ jobs:
|
|||
- run: chmod 600 -R ~/.ssh
|
||||
- run: git remote add github git@github.com:coderofsalvation/xrsh-apps
|
||||
- run: git push github main
|
||||
- run: git clone git@github.com:coderofsalvation/xrsh xrsh.github # now push empty commit to deploy website
|
||||
- run: "echo \"${{ secrets.SSHKEY }}\" > ~/.ssh/id_rsa"
|
||||
- run: cd xrsh.github
|
||||
- run: git config --global user.email "ci@forgejo.isvery.ninja"
|
||||
- run: git config --global user.name "CI@forgejo"
|
||||
- run: git commit --allow-empty -m "website deploy triggered via xrsh-apps repo commit"
|
||||
- run: PWD=$(pwd) GITHUB_WORKSPACE=$(pwd) git push origin main
|
||||
# *todo* trigger deploy at website
|
||||
#- run: git clone git@github.com:coderofsalvation/xrsh xrsh.github # now push empty commit to deploy website
|
||||
#- run: "echo \"${{ secrets.SSHKEY }}\" > ~/.ssh/id_rsa"
|
||||
#- run: cd xrsh.github
|
||||
#- run: git config --global user.email "ci@forgejo.isvery.ninja"
|
||||
#- run: git config --global user.name "CI@forgejo"
|
||||
#- run: git commit --allow-empty -m "website deploy triggered via xrsh-apps repo commit"
|
||||
#- run: PWD=$(pwd) GITHUB_WORKSPACE=$(pwd) git push origin main
|
||||
|
|
Loading…
Reference in New Issue