Skip to content

Commit

Permalink
(added) installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-steinbrecher committed Aug 5, 2024
1 parent 4dd3626 commit 54f793d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ jobs:
- name: Create ZIP file
run: |
mkdir release
zip -r release/cloudflare-dynamic-dns@${{ env.VERSION }}.zip src/*
cd src
zip -r ../release/cloudflare-dynamic-dns.zip .
cd ..
- name: Create GitHub Release and Upload Asset
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ env.VERSION }} ./release/cloudflare-dynamic-dns@${{ env.VERSION }}.zip --title "Release ${{ env.VERSION }}" --notes "Automated release for version ${{ env.VERSION }}" --repo ${{ github.repository }}
gh release create ${{ env.VERSION }} ./release/cloudflare-dynamic-dns.zip --title "Release ${{ env.VERSION }}" --notes "Automated release for version ${{ env.VERSION }}" --repo ${{ github.repository }}
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ This is a small script to change you IP dynamically in Cloudflare in case your i

It supports IPv4 and IPv6

## How to use

### Run commands

```bash
mkdir "cloudflare-dynamic-dns"
cd "cloudflare-dynamic-dns"
wget https://github.com/dev-steinbrecher/cloudflare-dynamic-dns/releases/latest/download/cloudflare-dynamic-dns.zip
unzip cloudflare-dynamic-dns.zip
rm cloudflare-dynamic-dns.zip
```

### Create an API token for the Cloudflare API

[Create Token](https://dash.cloudflare.com/profile/api-tokens)
Expand Down

0 comments on commit 54f793d

Please sign in to comment.