File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+ # ensure that only a single job or workflow using the same concurrency group will run at a time
3
+ # See https://docs.github.com/en/actions/using-jobs/using-concurrency
4
+ concurrency : deploy
5
+ on :
6
+ workflow_dispatch :
7
+ push :
8
+ branches :
9
+ - main
10
+ jobs :
11
+ Deploy :
12
+ environment : production
13
+ runs-on : ubuntu-latest
14
+ env :
15
+ RUNNING_WITHIN_CI_PIPELINE : 1
16
+ GIT_USERNAME_OR_ORG : asadahimeka
17
+ GIT_REPO_NAME : hono-nodejs-demo
18
+ APP_NAME : container-yby61ao
19
+ SSH_CONFIG_FILE : /dev/null
20
+ AMBER_SECRET : ${{ secrets.AMBER_SECRET }}
21
+ DOKKU_SSH_PRIVATE_KEY : ${{ secrets.DOKKU_SSH_PRIVATE_KEY}}
22
+ steps :
23
+ - run : echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
24
+ - run : echo "🐧 This job is now running on a ${{ runner.os }} server."
25
+ - run : echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
26
+ - name : Check out repository code
27
+ uses : actions/checkout@v3
28
+ - run : echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
29
+ - name : List files in the repository
30
+ run : |
31
+ ls -la ${{ github.workspace }}
32
+ - name : Deploy
33
+ run : |
34
+ set -x
35
+ ./.container-hosting/deploy.sh
You can’t perform that action at this time.
0 commit comments