diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 7c2787d..060c242 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -30,23 +30,10 @@ jobs: runs-on: [ubuntu-latest, cloud] needs: build steps: - - name: Modify hosts file + - name: Test if I can get the token run: | - echo 127.0.0.1 api.notion.com | tee -a /etc/hosts - - name: Start a dummy server listening on 443 - run: | - apt update - apt install -y netcat-traditional - while true; do - echo "HTTP/1.1 200 OK\\n\\nHello from dummy server" | nc -l -p 443 -q 1 - done & - - name: Try curl the dummy server on port 443 - run: | - apt-get update - apt-get install -y bind9-host - cat /etc/hosts - host api.notion.com - curl -k https://localhost:443 + echo "TOKEN=${{ secrets.TEST_TOKEN }}" + echo $TOKEN # - name: Download artifacts # uses: actions/download-artifact@v3 # with: