Skip to content

Commit

Permalink
PIPELINE: snapshots/release steps - use bash as shell (QW-Group#868)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscon authored Nov 19, 2023
1 parent 988190e commit cc80243
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,19 @@ jobs:
- name: Setup SSH
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
shell: bash
run: |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
- name: Set date
shell: bash
run: |
export TZ=CET-1CEST
echo "DATE=$(date "+%Y%m%d-%H%M%S")" >> $GITHUB_ENV
- name: Deploy
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
shell: bash
run: |
mkdir -p upload/releases/${{ github.ref_name }}/linux
mkdir -p upload/releases/latest/linux/${{ matrix.platform }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-and-deploy-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,19 @@ jobs:
- name: Setup SSH
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
shell: bash
run: |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
- name: Set date
shell: bash
run: |
export TZ=CET-1CEST
echo "DATE=$(date "+%Y%m%d-%H%M%S")" >> $GITHUB_ENV
- name: Deploy
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
shell: bash
run: |
mkdir -p upload/snapshots/linux/${{ matrix.platform }}
mkdir -p upload/snapshots/latest/linux/${{ matrix.platform }}
Expand Down

0 comments on commit cc80243

Please sign in to comment.