Skip to content

try upload with artifact data to keep reposiory slim #80

try upload with artifact data to keep reposiory slim

try upload with artifact data to keep reposiory slim #80

Workflow file for this run

name: Update deb822 style cache files

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

Invalid type for `job.environment`
on:
push:
check_run:
schedule:
- cron: "30 23 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: 'crpb/fnt'
ref: 'mirror'
- name: Restore cached Primes
id: cache-primes-restore
uses: actions/cache/restore@v4
with:
key: ${{ runner.os }}-primes
path: |
fonts-main
- name: generate index
run: |
./update.sh
git config --global user.email "[email protected]"
git config --global user.name "fnt index"
git add OFL.xz APACHE.xz || :
if git commit -m $(date -Im); then
git push
fi
- name: upload files
id: deployweb
uses: actions/upload-pages-artifact@v3
with:
path: ./
- name: Always Save Primes
id: cache-primes-save
if: always() && steps.cache-primes-restore.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
path: |
fonts-main
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.output.page_url }}
needs: generate index
steps:
- name: deploy webdata
id: deployweb
uses: actions/deploy-pages@v4