Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
Massy Mahamli committed Nov 14, 2023
1 parent 9fdfcb8 commit 0b90d89
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/move-into-oss.yaml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/move-into-oss.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: moving HTML file


on:
push:
branches:
- github-actions


jobs:
build-deploy:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: _site
steps:
- name: build jekyll
- run: bundle exec jekyll build
changed_files:
runs-on: ubuntu-latest # windows-latest || macos-latest
name: Test changed-files
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
- name: Get changed files in the _site folder
id: changed-files-specific
uses: tj-actions/changed-files@v40
with:
files: _site/reference-cai.html # Alternatively using: `docs/**`

- name: Run step if the file has changed
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: |
echo "One or more files in the docs folder has changed."
echo "List all the files that have changed: ${{ steps.changed-files-specific.outputs.all_changed_files }}"
steps:

0 comments on commit 0b90d89

Please sign in to comment.