fix pinboard working directory
change
commit cd81c9ca1a38c1bce2e534cac5d87878cce9e128
author Alpha Chen <alpha@kejadlen.dev>
date
parent 7be06401
diff --git a/.github/workflows/refresh-pinboard.yml b/.github/workflows/refresh-pinboard.yml
index 039c989..11117fa 100644
--- a/.github/workflows/refresh-pinboard.yml
+++ b/.github/workflows/refresh-pinboard.yml
@@ -9,17 +9,22 @@ jobs:
   refresh-pinboard-errors:
     runs-on: ubuntu-latest
 
-    services:
-      selenium:
-        image: selenium/standalone-firefox
-        ports:
-          - 4444:4444
+    defaults:
+      run:
+        working-directory: ./pinboard
+
+    # services:
+    #   selenium:
+    #     image: selenium/standalone-firefox
+    #     ports:
+    #       - 4444:4444
 
     steps:
       - uses: actions/checkout@v3
       - uses: ruby/setup-ruby@v1
+        with:
+          working-directory: ./pinboard
       - run: ruby refresh-pinboard-errors.rb
-        working-directory: ./pinboard
         env:
           PINBOARD_USERNAME: ${{ secrets.PINBOARD_USERNAME }}
           PINBOARD_PASSWORD: ${{ secrets.PINBOARD_PASSWORD }}