We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 973365b commit 23e1e5cCopy full SHA for 23e1e5c
.github/workflows/deploy.yml
@@ -4,20 +4,14 @@ on:
4
push:
5
branches: [main]
6
7
+env:
8
+ FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
9
+
10
jobs:
11
deploy:
12
runs-on: ubuntu-latest
13
14
steps:
15
- uses: actions/checkout@v2
-
- - name: Setup SSH Keys and known_hosts
- env:
16
- SSH_AUTH_SOCK: /tmp/ssh_agent.sock
17
- run: |
18
- mkdir -p ~/.ssh
19
- ssh-keyscan -H github.com >> ~/.ssh/known_hosts
20
- ssh-keyscan -H s18.mydevil.net >> ~/.ssh/known_hosts
21
- ssh-agent -a $SSH_AUTH_SOCK > /dev/null
22
- ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
23
- ssh [email protected] 'source ~/.bashrc && ssh-add ~/.ssh/github && bash -s' < ./ssh-script-deploy.sh
+ - uses: superfly/flyctl-actions/setup-flyctl@master
+ - run: flyctl deploy --remote-only
0 commit comments