mirror of
https://github.com/ArtistGrid/archiver.git
synced 2025-11-02 07:01:52 +00:00
16 lines
396 B
Markdown
16 lines
396 B
Markdown
name: Send Authenticated Request
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
send_request:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Send request with password header
|
|
run: |
|
|
curl -X POST "http://your-server-ip:8080/archive/https%3A%2F%2Fexample.com" \
|
|
-H "X-Password: ${{ secrets.ARCHIVE_PASSWORD }}" \
|
|
-H "Content-Type: application/json"
|