Skip to content

Update workflow to generate directory listings. #7

Update workflow to generate directory listings.

Update workflow to generate directory listings. #7

Workflow file for this run

name: Deploy app
env:
USERNAME: ${{ github.actor }}
ADDRESS_SUFFIX: users.noreply.github.com
on:
push:
branches:
- dev
jobs:
deploy-app:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create CNAME file
uses: "finnp/create-file-action@master"
env:
FILE_NAME: "public/CNAME"
FILE_DATA: "audiomotion.app"
- name: Generate Directory Listings
uses: jayanta525/[email protected]
with:
FOLDER: public/music
FOLDER: public/backgrounds

Check failure on line 27 in .github/workflows/deploy-app.yml

View workflow run for this annotation

GitHub Actions / Deploy app

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-app.yml (Line: 27, Col: 11): 'FOLDER' is already defined
- name: Run shell script
run: |
git config user.name "$USERNAME"
git config user.email "$USERNAME@$ADDRESS_SUFFIX"
git mv docs public
git add *
git commit -m "Deploy app"
git subtree split --prefix public -b gh-pages
git push -f origin gh-pages:gh-pages