Skip to content

Merge pull request #28 from CardanoGateKeeper/feature/add-publish-api… #30

Merge pull request #28 from CardanoGateKeeper/feature/add-publish-api…

Merge pull request #28 from CardanoGateKeeper/feature/add-publish-api… #30

Workflow file for this run

name: Deploy Staging
on:
push:
branches:
- staging
jobs:
deploy-staging:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: composer:v2
coverage: none
- name: Require Vapor CLI
run: composer global require laravel/vapor-cli
- name: Install Project Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
# - name: Require NodeJS
# uses: actions/setup-node@v4
# with:
# node-version: 20
# cache: 'npm'
# - name: Build Vite Package
# run: npm ci && npm run build
- name: Deploy Environment
run: vapor deploy staging
env:
VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }}