Skip to content

Commit

Permalink
chore: Add deployement step to Github Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Sep 18, 2024
1 parent 91f0c80 commit 52fbcc4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
branches:
- master

env:
MATTERMOST_CHANNEL: '{"dev":"papillon","beta":"papillon,publication","stable":"papillon,publication"}'
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
MATTERMOST_HOOK_URL: ${{ secrets.MATTERMOST_HOOK_URL }}

jobs:
build:
name: Build
Expand All @@ -25,3 +30,10 @@ jobs:
run: yarn test
- name: Build
run: yarn build
- name: Set SSH for downcloud
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DOWNCLOUD_SSH_KEY }}
- name: Deploy
if: github.ref == 'refs/heads/master'
run: yarn run deploy

0 comments on commit 52fbcc4

Please sign in to comment.