Skip to content

Add photos page and directory #2

Add photos page and directory

Add photos page and directory #2

Workflow file for this run

name: Update Photo List
on:
push
jobs:
updateImageList: # you can put any name here
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # Checkout repo
- shell: bash
run: ls -Rpm1 ./photos/ > photo.txt # Saving file list into a file
- name: Save changes
uses: actions-go/push@v1 # pushing the changes to the repo
with:
force: true
commit-files: photo.txt
commit-message: Updating photo list
# code taken from https://stackoverflow.com/questions/63759173/dynamically-load-all-images-from-folder-subfolders-with-javascript