diff --git a/.github/workflows/update-filters.yml b/.github/workflows/update-filters.yml index 8a3de04c..64fcd58f 100644 --- a/.github/workflows/update-filters.yml +++ b/.github/workflows/update-filters.yml @@ -23,6 +23,17 @@ jobs: path: main fetch-depth: 1 + # ------------------------------- + # Checkout pages branch + # ------------------------------- + - name: Checkout pages branch + uses: actions/checkout@v2 + with: + repository: 'uazo/cromite' + ref: pages + path: pages + fetch-depth: 1 + # ------------------------------- # Prepare output directory # ------------------------------- @@ -64,16 +75,6 @@ jobs: exit 1 fi - # ------------------------------- - # Checkout pages branch - # ------------------------------- - - name: Checkout pages branch - uses: actions/checkout@v2 - with: - repository: 'uazo/cromite' - path: pages - fetch-depth: 1 - # ------------------------------- # Deploy filters (only .txt) # -------------------------------