Skip to content

Commit

Permalink
Created CD pipeline for the static website (docs/www)
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Dec 5, 2024
1 parent 6de4f2c commit ca53d0d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/www.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: www

on:
push:
branches: [master]
paths:
- '.github/workflows/www.yaml'
- 'docs/www/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
deploy:
permissions:
id-token: write
pages: write
environment:
name: ${{ github.workflow }}
url: ${{ steps.deploy.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: checkout-repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: configure
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
- name: upload
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
with:
path: docs/www
- name: deploy
id: deploy
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
with:
artifact_name: "docs/www"

0 comments on commit ca53d0d

Please sign in to comment.