Update GitHub Pages Actions
This commit is contained in:
parent
5e72f454d0
commit
e0760931ed
2 changed files with 1 additions and 27 deletions
10
.github/dependabot.yml
vendored
10
.github/dependabot.yml
vendored
|
|
@ -1,10 +0,0 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
18
.github/workflows/pages.yml
vendored
18
.github/workflows/pages.yml
vendored
|
|
@ -22,29 +22,13 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Build from Source and Deploy
|
||||
name: Deploy
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: install node v16
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
- name: Install Yarn with NPM
|
||||
run: npm install -g yarn
|
||||
- name: yarn install
|
||||
run: yarn install
|
||||
- name: Commit Distribution Files
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
if: startswith(github.repository, 'adafruit/')
|
||||
with:
|
||||
repository: 'dist'
|
||||
commit_message: "Github Action: Updated dist files"
|
||||
status_options: '--ignored=matching'
|
||||
add_options: '-fA'
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Upload artifact
|
||||
|
|
|
|||
Loading…
Reference in a new issue