name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Install Portway CLI
run: curl -fsSL https://portway.dev/install.sh | bash
- name: Login to Portway
run: portway login --api-key ${{ secrets.PORTWAY_KEY }}
- name: Deploy
run: portway deploy -e production