Create test.yml qemu #3
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
name: Deploy | |
# ensure that only a single job or workflow using the same concurrency group will run at a time | |
# See https://docs.github.com/en/actions/using-jobs/using-concurrency | |
concurrency: deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
Deploy: | |
environment: production | |
runs-on: ubuntu-latest | |
env: | |
RUNNING_WITHIN_CI_PIPELINE: 1 | |
GIT_USERNAME_OR_ORG: KarmaComputing | |
GIT_REPO_NAME: server-bootstrap | |
APP_NAME: container-km8ivxk | |
SSH_CONFIG_FILE: /dev/null | |
AMBER_SECRET: ${{ secrets.AMBER_SECRET }} | |
DOKKU_SSH_PRIVATE_KEY: ${{ secrets.DOKKU_SSH_PRIVATE_KEY}} | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "🐧 This job is now running on a ${{ runner.os }} server." | |
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." | |
- name: List files in the repository | |
run: | | |
ls -la ${{ github.workspace }} | |
- name: Deploy | |
run: | | |
set -x | |
./.container-hosting/deploy.sh |