Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus21337 committed Oct 9, 2024
1 parent 94c4fe4 commit 4bd200d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Pipeline

on:
push:
branches: [main]
branches:
- main
workflow_dispatch:

permissions:
Expand All @@ -12,20 +13,25 @@ permissions:

jobs:
build:
name: "Build for production"
runs-on: ubuntu-latest

steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install, build, and upload your site
uses: withastro/action@v2

deploy:
needs: build
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 4bd200d

Please sign in to comment.