mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-25 02:29:49 +01:00
ci: remove symlink for now
This commit is contained in:
1 parent
2825ccaf17
commit
a30e2ef32a
1 file changed
-11
@@ -826,17 +826,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: build-tag
|
name: build-tag
|
||||||
|
|
||||||
- name: Create symlink
|
|
||||||
run: |
|
|
||||||
printf '%s' '${{ secrets.NICKCHAN_FTP_KEY }}' > privkey.pem
|
|
||||||
chmod 600 privkey.pem
|
|
||||||
dir='/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref-branch }}'
|
|
||||||
(
|
|
||||||
echo "rm $dir/latest"
|
|
||||||
echo "ln -s $dir/${{ github.run_number }} $dir/latest"
|
|
||||||
) | sftp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i privkey.pem -P ${{ secrets.NICKCHAN_FTP_PORT }} palera1n@${{ secrets.NICKCHAN_FTP_HOST }}
|
|
||||||
rm -f privkey.pem
|
|
||||||
|
|
||||||
- name: Send Discord build message
|
- name: Send Discord build message
|
||||||
run: |
|
run: |
|
||||||
COMMITMESSAGE=`git log --pretty=format:'- \`%h\` %s' -1 --reverse` &&
|
COMMITMESSAGE=`git log --pretty=format:'- \`%h\` %s' -1 --reverse` &&
|
||||||
|
|||||||
Reference in new issue
Block a user