Updated build to more modern and clean standard #1
This file contains hidden or 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 | ||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Code Checkout" | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: "Environment Setup" | ||
uses: ./.github/base | ||
- name: Build Compute Package | ||
uses: fastly/compute-actions/build@v7 | ||
with: | ||
verbose: true # optionally enables verbose output, defaults to false | ||
- name: Deploy Compute Package | ||
uses: fastly/compute-actions/deploy@v7 | ||
with: | ||
comment: 'Deployed via GitHub Actions' # optional | ||
env: | ||
FASTLY_API_TOKEN: ${{ secrets.FASTLY_API_TOKEN }} | ||