Skip to content

Commit

Permalink
Update create-package-index.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZookaOnGit authored Jun 27, 2024
1 parent bc042d0 commit c7068b9
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/create-package-index.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create json index and deploy to github.io
name: Create json index
on:
push:
branches:
Expand All @@ -10,9 +10,8 @@ jobs:

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository and github.io
# added or changed files to the repository
contents: write
pages: write
id-token: write

steps:
Expand Down Expand Up @@ -42,20 +41,3 @@ jobs:
with:
commit_message: Automated package index update.
file_pattern: '*.packages.json'

# push to githib.io
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'

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

0 comments on commit c7068b9

Please sign in to comment.