mirror of
https://github.com/apple/container.git
synced 2026-09-25 17:15:38 +00:00
Add github actions workflows (#1)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
name: Deploy application website
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "[0-9]+.[0-9]+.[0-9]+"
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
pages: write
|
||||
|
||||
jobs:
|
||||
buildSite:
|
||||
name: Build application website
|
||||
uses: ./.github/workflows/containerization-build-template.yml
|
||||
secrets: inherit
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: buildSite
|
||||
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
Reference in New Issue
Block a user