diff --git a/README.md b/README.md index 5dd701d..3945111 100644 --- a/README.md +++ b/README.md @@ -12,18 +12,18 @@ in heckin gitea, create destination repo. Update the `` in [.drone.yml](.drone.yml). -### 3. create PAT (one-time, not per repo) +### 3. create and add PAT (one-time, not per repo) in heckin, go to settings > applications, and create a PAT with read & write permissions to repositories. -### 4. activate project in drone and add PAT +in drone, you can set your PAT either as a project secret or an organization secret. In either case call it `GIT_TOKEN`. + +### 4. activate project in drone in drone, find your project and activate it. in the settings, I chose to disable pull requests and forks. I set my runner timeout to 15m. -you can set your PAT either as a project secret or an organization secret. In either case call it `GIT_TOKEN`. - ### 5. first commit to submodule assuming we are committing the _site folder... @@ -40,6 +40,8 @@ git remote add origin git push -u origin main ``` +then you can delete the temp directory. + ### 6. add submodule to local repo in root dir of local repo, add the submodule.