Skip to content

Commit

Permalink
Added deploy.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ashercaulfield committed Apr 18, 2024
1 parent 1fd3710 commit b7bc9f1
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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: ashercaulfield
GIT_REPO_NAME: container-fsutqem
APP_NAME: container-fsutqem
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

0 comments on commit b7bc9f1

Please sign in to comment.