Update GitHub Pages Actions

pull/318/head
Melissa LeBlanc-Williams 2 months ago
parent 5e72f454d0
commit e0760931ed

@ -1,10 +0,0 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"

@ -22,29 +22,13 @@ concurrency:
jobs: jobs:
deploy: deploy:
name: Build from Source and Deploy name: Deploy
environment: environment:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - 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 - name: Setup Pages
uses: actions/configure-pages@v5 uses: actions/configure-pages@v5
- name: Upload artifact - name: Upload artifact

Loading…
Cancel
Save