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 ~