Merge pull request #38 from 0xZeroLabs/feat/update-initiatives #19
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 ZERO Labs Website | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'apps/labs/website/**' | |
jobs: | |
publish_landing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: build | |
run: | | |
docker build . -t lordewan/0xzero-landing:latest | |
working-directory: ./apps/labs/website | |
- name: publish | |
run: | | |
docker login -u lordewan -p ${{ secrets.DOCKERHUB_TOKEN }} | |
docker push lordewan/0xzero-landing:latest | |
working-directory: ./apps/labs/website | |
- name: Install and configure the Koyeb CLI | |
uses: koyeb-community/install-koyeb-cli@v2 | |
with: | |
api_token: "${{ secrets.KOYEB_TOKEN }}" | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Deploy to Koyeb | |
run: koyeb service redeploy mid-dorey/landing |