From 5847053cf645a40f1ec41b697ab312d456a193d4 Mon Sep 17 00:00:00 2001 From: Haochen Pan <32943456+haochenpan@users.noreply.github.com> Date: Mon, 11 Dec 2023 21:34:18 -0500 Subject: [PATCH] Create online.yml --- .github/workflows/online.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/online.yml diff --git a/.github/workflows/online.yml b/.github/workflows/online.yml new file mode 100644 index 0000000..56a4839 --- /dev/null +++ b/.github/workflows/online.yml @@ -0,0 +1,22 @@ +name: Download and Store File + +on: + workflow_dispatch: + +jobs: + download-and-store: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Download File + run: | + mkdir -p $HOME/.diaspora + wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=${{ secrets.STORAGE_DB_FOR_TESTING }}' -O $HOME/.diaspora/storage.db + + - name: Check File + run: | + ls -l $HOME/.diaspora + ls ~