Skip to content

Commit

Permalink
Update publish-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
N3v1 authored Dec 12, 2023
1 parent 0128743 commit 1d9f2b6
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/publish-pages.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# This is a basic workflow to help you get started with Actions

Check failure on line 1 in .github/workflows/publish-pages.yml

View workflow job for this annotation

GitHub Actions / deploy

.github/workflows/publish-pages.yml#L1

This run was manually canceled.

name: Deploy DocC

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
# Runs on pushes targeting the default branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
branches: ["main"]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
Expand Down

0 comments on commit 1d9f2b6

Please sign in to comment.